<?php  
include_once('../../../../../wp-config.php');
$scope = 'get_user_info,add_share,list_album,add_album,upload_pic,add_topic,add_one_blog,add_weibo';
$appid = io_get_option('open_qq_key')['appid'];
$login = new ioLoginQQ();
$login->login($appid,$scope,get_template_directory_uri().'/inc/auth/qq-callback.php');
?>